package com.xmy.cultivate.service.impl;

import com.xmy.cultivate.entity.SenateSubjectsProjects;
import com.xmy.cultivate.mapper.SenateSubjectsProjectsMapper;
import com.xmy.cultivate.service.ISenateSubjectsProjectsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 教务科目项目（对应科目有哪些项目） 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2024-10-26
 */
@Service
public class SenateSubjectsProjectsServiceImpl extends ServiceImpl<SenateSubjectsProjectsMapper, SenateSubjectsProjects> implements ISenateSubjectsProjectsService {

    @Autowired
    SenateSubjectsProjectsMapper senateSubjectsProjectsMapper;

    @Override
    public List<SenateSubjectsProjects> getPorjectList(Integer yearPart,
                                                       Integer quarterNum,
                                                       String subjectsId
    ){
        return senateSubjectsProjectsMapper.getPorjectList(yearPart,quarterNum,subjectsId);
    }
}
